import request from '@/utils/request.js'

// 查询圈子分类列表
export function listCategory(query) {
  return request.get('/app/category/list', query)
}

// 查询热门圈子分类
export function listHotCategories() {
  return request.get('/app/category/hot')
}

// 查询推荐圈子分类
export function listRecommendCategories() {
  return request.get('/app/category/recommend')
}

// 查询圈子分类详情
export function getCategoryDetail(cateId) {
  return request.get(`/app/category/${cateId}`)
}